export const name = "block-unassigned"

export function apply(ctx) {
  ctx.guild().on("attach-user", s => {
    if (!s.channel.assignee && s.user.authority < 3)
      throw new SessionError([""])
  })
}
